package com.cedarhd.brzx.dto.request.recharge;

import com.cedarhd.brzx.common.enums.BankCodeEnum;
import com.cedarhd.brzx.common.enums.PayTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 网关支付
 * Created by Administrator on 2018/5/3.
 */
@Data
public class GateWayDTO {

    @ApiModelProperty(value = "发卡机构",required = true)
    @NotNull(message = "bankCode不能空")
    private BankCodeEnum bankCode ;

    @ApiModelProperty(value = "网关支付类型",required = true)
    @NotNull(message = "payType不能空")
    private PayTypeEnum payType;

    @ApiModelProperty(value = "支付金额", required = true)
    @NotNull(message = "amount不能空")
    private Long amount;

}
